package com.wfcm.service;

import com.wfcm.entity.Record;

import java.util.Map;

public interface RecordService {

    Integer insert(Record record);

    void update(Record record);

    Record selectByUseridAndChapterid(Record record);

    Record selectByCreateTime(Record record);

    Integer queryTotal(Integer uid);

    void delRecord(Map<String, Object> map);

    Integer selectStudyTime(Record record);

    Integer selectTimeByTime(Map<String, Object> map);

    Integer selectCount(Map<String, Object> map);

    Integer updateTimeByUseridAndChapterid(Record record);
}
